/*
 * @Author: error: git config user.name && git config user.email & please set dead value or install git
 * @Date: 2022-12-29 10:43:41
 * @LastEditors: error: git config user.name && git config user.email & please set dead value or install git
 * @LastEditTime: 2022-12-29 10:46:47
 * @FilePath: \html学习\vue-test\vue-history\public\child.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
const child = {
    install(app) {
        app.config.globalProperties.msg = 'hello plugin'
        app.config.globalProperties.sayHello = () => {
            alert(this.msg)
        }
    }
}

export default child